#!/usr/bin/env python # -- coding: utf-8 --

from setuptools import setup, find_packages
import sys

version = '0.1'

install_requires = [
   'setuptools',
   'tornado',
   'simplejson',
   'duplicity',
   'python-keyczar',
   'pycrypto',
   'pyasn1',
    ]

if sys.platform == "darwin":
   install_requires.append("MacFSEvents==0.2dev")
if sys.platform.startswith("linux"):
    install_requires.append("pyinotify>=0.8.8")

if sys.version_info[:3] < (2,5,0):
    install_requires.append('elementtree')

setup(name="OpenDropbox",
      version=version,
      description="The free open-source version of the popular file-sharing software.",
      long_description=open("README.rst").read() + open("CHANGES.rst").read(),
      classifiers=[
        "Programming Language :: Python",
        "Topic :: Software Development :: Libraries :: Python Modules",
        ],
      keywords='',
      author='Malthe Borch, Bernd Rössl, Robert Rottermann and the OpenDropBox Community',
      url="http://code.google.com/p/opendropbox/",
      license='MIT',
      namespace_packages=[],
      packages = find_packages('src'),
      package_dir = {'':'src'},
      include_package_data=True,
      zip_safe=False,
      install_requires=install_requires,
      tests_require=install_requires + [
          ],
      test_suite="odb.tests",
      entry_points = {
        'console_scripts':['opendropbox=odb:main'],
       },
      )
